<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<?php
    include_once('db.php');

?>


<html >
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Saade: Captura de facturas de clientes</title>
        <link rel="stylesheet" type="text/css" href="css/index.css" />
        <link rel="stylesheet" type="text/css" href="css/form.css" />  
        <link rel="stylesheet" href="css/example.css" TYPE="text/css" MEDIA="screen">
        <script type="text/javascript" src="js/bsn.AutoSuggest_c_2.0.js"></script>
        <script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="js/tabber.js"></script>
        <script type="text/javascript">

            /* Optional: Temporarily hide the "tabber" class so it does not "flash"
            on the page as plain HTML. After tabber runs, the class is changed
            to "tabberlive" and it will appear. */

            document.write('<style type="text/css">.tabber{display:none;}<\/style>');
        </script>
        <script>
            function cerrar()
            {
                parent.$.fancybox.close();
            }

            function validar(){
                if (confirm("Seguro que quiere hacer el corte?")) {
                    // Respuesta afirmativa...
                    return true;
                }else{
                    return false;
                }   
            }
        </script>
        <script type="text/javascript" src="js/jquery.tools.min.js"></script>


    </head>
    <body style="margin: 0px; padding: 0px;" >

        <div class="header_fancy">
            <div class="cerrar_fancy" onclick="cerrar();"></div> 
            <p style="margin-left: 23px; padding-top: 20px; margin-top:0px">INSERTAR CORTE</p>

        </div>
        <br><br>
        <form action="inserta_corte_procesa.php" enctype="multipart/form-data" method="POST" name="ingrediente" id="ingrediente" onsubmit="return validar(this.form);">
            <table id="forma" align="center">
                <tr>
                    <td>       
                        <span class="input_fancy2">VA A AGREGAR UN NUEVO CORTE CON FECHA <?php echo date("d/m/Y") ?></span> 
                    </td>
                </tr>
            </table>
            <br>
            <center><input type="image" src="img/todo/AGREGAR.png" > </center>
        </form>
        <script>
            $("#ingrediente").validator();
        </script>
    </body>
</html>